package com.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vo.sys.UserExceptSelfVo;
import com.vo.sys.UserVo;

import java.util.List;

public interface UserVoMapper extends BaseMapper<UserVo> {

    /**
     * 根据username获取所有的联系人和所在部门
     *
     * @param username
     * @return
     */
    List<UserExceptSelfVo> selectUserVos(String username);

    /**
     * 根据inputName模糊查询用户
     */
    List<UserExceptSelfVo> selectUserVosByLike(String username, String inputName);
}
